package com.youlu.campus.starter.sms.bean;

import lombok.Data;

import java.util.List;

/**
 * @Description: SmsFeiXinResult
 * @Date 2025/7/8
 * @module SmsFeiXinResult
 * @author: su
 */
@Data
public class SmsFeiXinResult {

    /**
     * 返回码 SmsFeiXinCodeEnum
     */
    private String code;

    /**
     * 描述
     */
    private String desc;

    /**
     * 结果集
     */
    private List<SmsFeiXinSendResult> result;

    /**
     * uid	String	提交返回的唯一标识（32位字符串，用于获取短信回执）  批量群发id
     */
    private String uid;

    public static SmsFeiXinResult fail(String code, String desc) {
        SmsFeiXinResult smsFeiXinResult = new SmsFeiXinResult();
        smsFeiXinResult.setCode(code);
        smsFeiXinResult.setDesc(desc);
        return smsFeiXinResult;
    }

}
